package com.cjmp.hao.testmoduledemo_windows;

import ohos.stage.ability.adapter.StageApplication;
import ohos.stage.ability.adapter.StageApplicationDelegate;

public class MainApplication extends StageApplication {

    private StageApplicationDelegate appDelegate = null;

    public void onCreate() {
        super.onCreate();
        new Thread( () -> {
            this.appDelegate = new StageApplicationDelegate();
            this.appDelegate.initApplication(this);
        });
    }
}